
//
//  YuYueSureOrderSectionHeaderView.m
//  FD
//
//  Created by xiaofang wang on 2018/11/9.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//

#import "YuYueSureOrderSectionHeaderView.h"
@interface YuYueSureOrderSectionHeaderView()
@end

@implementation YuYueSureOrderSectionHeaderView

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithReuseIdentifier:reuseIdentifier];
    if (self) {
        [self setupView];
    }
    return self;
}

- (void)setupView {
    [self.contentView addSubview:self.titleLb];
}
- (void)layoutSubviews {
    [super layoutSubviews];
    
    [self.titleLb mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self.contentView.mas_left).offset(15);
        make.top.right.bottom.equalTo(self.contentView);
    }];
}

- (UILabel *)titleLb {
    if (!_titleLb) {
        _titleLb = [UILabel new];
    }
    return _titleLb;
}
@end
